package com.dnjn.mes.biz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dnjn.mes.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 实时产量
 * </p>
 *
 * @author Amber
 * @since 2023-08-04
 */
@Accessors(chain = true)
@Getter
@Setter
@TableName("mes_realtime_capacity")
public class MesRealtimeCapacity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    @TableId(value = "realtime_capacity_id", type = IdType.ASSIGN_ID)
    private Long realtimeCapacityId;

    private LocalDateTime currentDatetime;

    private Integer currentCapacity;
    private String dataType;
    /**
     * 是否删除|0-否 1-是|valid
     */
    private String deleted;

    private Long equipmentId;
}
